import router from '@system.router';
export default {
    data: {
        title: 'World',
        contactsData:[{"name":"刘备","imgSrc":"/common/images/head1.png","weChatNum":"Q1234"},
                      {"name":"张飞","imgSrc":"/common/images/head2.png","weChatNum":"A2234"},
                      {"name":"关云长","imgSrc":"/common/images/head3.png","weChatNum":"W3344"},
                      {"name":"赵云","imgSrc":"/common/images/head4.png","weChatNum":"D2231"},
                      {"name":"马孟起","imgSrc":"/common/images/head5.png","weChatNum":"C4422"},
                      {"name":"黄忠","imgSrc":"/common/images/head6.png","weChatNum":"F4423"},
                      {"name":"曹孟德","imgSrc":"/common/images/head7.png","weChatNum":"G6654"},
                      {"name":"典韦","imgSrc":"/common/images/head8.png","weChatNum":"N0000"}
        ],
        indexer:['#','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
    },
    intoInfo(item){
        router.push({
            uri:"pages/contacts_info/contacts_info",
            params:{
                imgSrc:item.imgSrc,
                userName:item.name,
                weChatNum:item.weChatNum
            }
        });
    },

}
